home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'An impression of the image under water. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.07,0.82375,0.94),
- 'Darkness': 100,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (163,90,49),
- 'Material': App.Constants.LensFrameMaterial.DullBronze,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 5
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (0,0,255),
- 'LightDirection': (-0.6225,0.5476,-0.5577),
- 'HighlightSize': 22
- },{
- 'LightColor': (103,164,255),
- 'LightDirection': (0.682589,0.446218,-0.578759),
- 'HighlightSize': 39
- },{
- 'LightColor': (0,43,130),
- 'LightDirection': (-0.305664,0.208862,-0.522369),
- 'HighlightSize': 74
- },{
- 'LightColor': (84,17,253),
- 'LightDirection': (-0.305664,0.208862,0.522369),
- 'HighlightSize': 56
- },{
- 'LightColor': (255,255,255),
- 'LightDirection': (-0.0626497,-0.14265,-0.987788),
- 'HighlightSize': 0
- }],
- 'MaxAmbience': 91,
- 'MinAmbience': 6
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 23,
- 'Magnification': 9,
- 'LensMaterial': {
- 'Color': (0,54,53),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 41,
- 'Refraction': 44,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 16
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-